package com.xhh.model.interview.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("interview")
@ApiModel(value="interview对象", description="")
public class Interview implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "preapply表id")
    private Long pId;

    @ApiModelProperty(value = "考生编号")
    private String stuCode;

    @ApiModelProperty(value = "用户联系方式")
    private String accountPhone;

    @ApiModelProperty(value = "发送通知的用户")
    private String account;

    @ApiModelProperty(value = "通知标题")
    private String title;

    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "单位代码")
    private String unityCode;

    @ApiModelProperty(value = "院系代码")
    private String faultyCode;

    @ApiModelProperty(value = "院系名称")
    private String faultyName;

    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "专业名称")
    private String majorName;

    @ApiModelProperty(value = "通知回复状态")
    private String status;

    @ApiModelProperty(value = "通知发送时间")
    private Date sendTime;

    @ApiModelProperty(value = "通知回复时间")
    private Date replyTime;

    /**
     * 逻辑删除
     */
    @TableField("deleted")
    private Boolean deleted;

}
